package com.stylefeng.guns.common.dto.acct;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.validator.constraints.NotEmpty;

import javax.validation.constraints.Pattern;

@Data
@ApiModel("支付密码修改")
public class ModifyCipherReq {

    @ApiModelProperty("旧支付密码")
    private String cipher;

    @ApiModelProperty(value = "新支付密码",required = true)
    @NotEmpty
    private String newCipher;

    @ApiModelProperty("身份证号")
    private String idNo;

    @ApiModelProperty(value = "短信验证码",required = true)
    @NotEmpty
    private String smsCode;

}
